package com.woniuxy.commons.entity;

import java.util.List;

/**
*@author 作者：
*version 创建时间：
*类说明：分页类
*/
public class PageBean<E> {
	List<E> list;//当页数据
	int nowPage;//当前页码
	int totalNum;//总共数据条数
	int nowNum;//当前页数据条数
	int totalPage;//总共页数
	int pageSize;//每页数量
	public List<E> getList() {
		return list;
	}
	public void setList(List<E> list) {
		this.list = list;
	}
	public int getNowPage() {
		return nowPage;
	}
	public void setNowPage(int nowPage) {
		this.nowPage = nowPage;
	}
	public int getTotalNum() {
		return totalNum;
	}
	public void setTotalNum(int totalNum) {
		this.totalNum = totalNum;
	}
	public int getNowNum() {
		return nowNum;
	}
	public void setNowNum(int nowNum) {
		this.nowNum = nowNum;
	}
	public int getTotalPage() {
		return totalPage;
	}
	public void setTotalPage(int totalPage) {
		this.totalPage = totalPage;
	}
	public int getPageSize() {
		return pageSize;
	}
	public void setPageSize(int pageSize) {
		this.pageSize = pageSize;
	}
	@Override
	public String toString() {
		return "PageBean [list=" + list + ", nowPage=" + nowPage + ", totalNum=" + totalNum + ", nowNum=" + nowNum
				+ ", totalPage=" + totalPage + ", pageSize=" + pageSize + "]";
	}
	
	
	
	
}
